package com.poetize.plus.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;

/**
 * @author zuosy
 * @created 2024/4/10 13:39
 */
public record BackgroundImageCheckDTO(
        @Schema(description = "文件名称")
        @NotBlank(message = "文件名称不能为空")
        String filename,

        @Schema(description = "文件类型")
        @NotBlank(message = "文件类型不能为空")
        String mimeType
) {
}
